<%-- 
    Document   : Add new book
    Created on : Sep 4, 2013, 2:20:39 AM
    Author     : amr
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
    <center>
        <form action="UpdateBook" method="POST" enctype="multipart/form-data">    
            <table>
                <tr>
                    <td>The cover</td>
                    <td><input type="file" name="newCover" value="" /></td>
                </tr> 
                <tr>
                    <td>Title </td>
                    <td><input type="text" name="book_title" value=""/></td>
                </tr> 
                <tr>
                    <td>ISBN </td>
                    <td><input type="text" name="book_isbn" value="" /></td>
                </tr> 
                <tr>
                    <td>Category </td>
                    <td><input type="text" name="book_isbn" value="" /></td>
                </tr> 
                <tr>
                    <td>Auther</td>
                    <td><input type="text" name="book_auther" value="" /></td>
                </tr> 
                <tr>
                    <td>stock quantity</td>
                    <td><input type="text" name="book_quantity" value="" /></td>
                </tr> 
                <tr>
                    <td># pages </td>
                    <td><input type="text" name="book_num_pages" value="" /></td>
                </tr> 
                <tr>
                    <td>price </td>
                    <td><input type="text" name="book_price" value="" /></td>
                </tr> 
                </c:forEach> 
            </table>  
            <input type="submit" value="Insert" />
        </form>
    </center>
</body>
</html>
